package com.ifamily.domain.user;

// Generated Sep 23, 2012 10:54:30 PM by Hibernate Tools 3.4.0.CR1

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "kids", catalog = "ifamily")
public class Kid implements java.io.Serializable {

	private static final long serialVersionUID = -5117984232779341007L;
	@Id
	@Column(name = "ID", unique = true, nullable = false)
	private int id;
	@Column(name = "NAME", nullable = false, length = 50)
	private String name;
	@Column(name = "AGE")
	private Integer age;

	public Kid() {
	}

	public Kid(int id, String name) {
		this.id = id;
		this.name = name;
	}

	public Kid(int id, String name, Integer age) {
		this.id = id;
		this.name = name;
		this.age = age;
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}


	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}
}
